#pragma once

#include <iostream>
#include <vector>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>


class User
{
private:
    int id;
    std::string name;
    std::string password;
    std::string describe;
public:
    User() = default;
    User(const int& id, const std::string& name, const std::string& password, const std::string& describe);

    int getId()const;
    std::string getName()const;
    std::string getPassword()const;
    std::string getDescribe()const;

    void setId(int id);

    std::string serialize(void)const;
    int deSerialize(const std::string& str);
    
};